Skip to content

Conversation

@dmihalcik-virtru
Copy link
Member

@dmihalcik-virtru dmihalcik-virtru commented Jul 10, 2024

  • don't skip newline characters
  • tested locally with replace directive from internal project
  • This is causing failures when decrypting piped input if the TDF bytes happens to contain one of a small set of stop characters - which is very likely for larger files but not too likely for very small files so we hadn't noticed

- don't skip newline characters
@dmihalcik-virtru dmihalcik-virtru requested a review from a team as a code owner July 10, 2024 14:37
@jakedoublev
Copy link
Contributor

what was the error this was causing? reformatting of text?

@dmihalcik-virtru
Copy link
Member Author

Added more detail. Basically, the previous method for converting from os.stdin to a []byte was not sound

Copy link

@ntrevino-virtru ntrevino-virtru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Throwing a ✅ hoping mine is strong enough 💪

@dmihalcik-virtru dmihalcik-virtru merged commit a375ddb into main Jul 10, 2024
@dmihalcik-virtru dmihalcik-virtru deleted the fix/scanner-readly branch July 10, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants